#ifndef _KRLSEM_T_H_
#define _KRLSEM_T_H_

#include <spinlock_t.h>
#include <waitlst_t.h>

/* 信号量 */

typedef struct s_SEM
    {
    spinlock_t   lock;
    u32_t        flag;
    u32_t        count;
    waitlst_t    wlist;
    } sem_t;

#endif